import 'package:flutter/material.dart';
import 'package:shenling_logistics/pages/task/components/noTaskComp.dart';

class CompleteTaskPage extends StatefulWidget {
  const CompleteTaskPage({super.key});

  @override
  State<CompleteTaskPage> createState() => _CompleteTaskPageState();
}

class _CompleteTaskPageState extends State<CompleteTaskPage> {
  @override
  Widget build(BuildContext context) {
    // 定义已完成任务数据
    List completeTaskList = [];

    return Scaffold(
      body: completeTaskList.isEmpty
          ? NoTaskComp(title: '未找到相关任务')
          : ListView.builder(
              itemBuilder: (BuildContext context, int index) {
                return Container();
              },
            ),
    );
  }
}
